snapshot: Add & use API for linear gradient nodes
authorTimm Bäder <mail@baedert.org>
Wed, 13 Dec 2017 08:05:49 +0000 (09:05 +0100)
committerTimm Bäder <mail@baedert.org>
Thu, 21 Dec 2017 17:25:52 +0000 (18:25 +0100)
commit19871cfd68af11780d4549430ddeab3644d0bf76
tree39c8ce5616caf95e9fa43952649b7188af518f8b
parentd9f1620b2fe46d90097dbbe96a867ac480d4408e
snapshot: Add & use API for linear gradient nodes

This way, we can also clip the created node bounds to the current clip
of the GtkSnapshot. This works as long as we don't modify the start and
end points, and happens all the time while rendering.
gtk/gtkcssimagelinear.c
gtk/gtksnapshot.c
gtk/gtksnapshot.h